<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><{$tt}></title>
<LINK href="<{$smarty.const.BASEPATH}>/css/tablecss.css" rel="stylesheet">


<link href="<{$smarty.const.BASEPATH}>/css/css.css" type="text/css" rel="stylesheet" />

</head>

<body>

<div class="orderview">

<div class="forward">Order Date: <{$order.date_purchased|date_format:'%A %d %B,%Y %H:%M:%S'}></div>
<br class="clear" />
<h2 id="orderHistoryDetailedOrder">Order Information&nbsp;-&nbsp;Order #<{$order.orders_sn}> <{$order.payment_method}>:<{$order.rppay_id}></h2>
<table border="0" width="100%" cellspacing="0" cellpadding="1">
    <tr class="tableHeading">
        <th scope="col" id="myAccountQuantity">Qty.</th>
        <th scope="col" id="myAccountProducts">Products</th>
        <th scope="col" id="myAccountTotal">Total</th>
    </tr>
<{foreach item=item name=name from=$orderslist}>     
    <tr>
        <td align="center" height="20"><{$item.products_quantity}>&nbsp;ea.  </td>
        <td align="center"><{$item.products_name}><{if $item.product_size neq ''}> [<{$item.product_size}>]<{/if}></td>
        <td align="center">
        <{$item.products_quantity}> <strong>*</strong> <{if $item.discounted_price neq ''}><{$item.discounted_price*$order.currency_value}><{else}><{$item.products_price}><{/if}> = <{$symbol_left}><{$item.final_priceview_price*$order.currency_value}>
        </td>
    </tr>
<{/foreach}>     
</table>
<hr />
<div id="orderTotals">
     <div class="lineTitle larger forward">Sub-Total:<{$order.currency_left}><{$order.order_total}></div>
     <div class="lineTitle larger forward"><{if $order.shipping_module_code neq ''}><{$order.shipping_module_code}><{else}><{T w='Flat Rate (Best Way)'}><{/if}>:<{$order.currency_left}><{$order.shipping_method*$order.currency_value}></div>
     <div class="lineTitle larger forward">Discount:-<{$order.currency_left}><{$order.order_discount}></div>
     <div class="lineTitle larger forward">Total:<{$order.currency_left}><{$order.shipping_method*$order.currency_value+$order.order_total-$order.order_discount}></div>
</div>
<br class="clear"/>





<table border="0" width="100%" cellspacing="0" cellpadding="0" id="myAccountOrdersStatus">
<caption align="left"><h2 id="orderHistoryStatus">Status History &amp; Comments</h2></caption>
    <tr class="tableHeading">
        <th scope="col" id="myAccountStatusDate">Date</th>
        <th scope="col" id="myAccountStatus">Order Status</th>
        <th scope="col" id="myAccountStatusComments">Comments</th>
       </tr>
<{foreach item=item name=name from=$ordersstatus}>       
    <tr>
        <td align="center" height="20"><{$item.date_added|date_format:'%m/%d/%Y %H:%M:%S'}></td>
        <td align="center"><{$item.orders_status_id}></td>
        <td><{$item.comments}></td> 
     </tr>
<{/foreach}>       
</table>

<hr />
<br class="clear"/>
<div id="myAccountShipInfo" class="floatingBox forward">
<h3>Customer</h3>
<address><{$order.customers_name}> <br /> <{$order.customers_street_address}> <br />  <{$order.customers_city}>, <{$order.customers_postcode}><br /> <{$order.customers_state}>, <{$order.customers_country}></address>

<h4>Telephone Number</h4>
<div><{$order.customers_telephone}></div>
<h4>E-Mail Address</h4>
<div><{$order.customers_email_address}></div>
<h4>IP Address</h4>
<div><{$order.ip_address}></div>
</div>

<div id="myAccountShipInfo" class="floatingBox back">
<h3>Delivery Address</h3>
<address><{$order.delivery_name}> <br /> <{$order.delivery_street_address}> <br />  <{$order.delivery_city}>, <{$order.delivery_postcode}><br /> <{$order.delivery_state}>, <{$order.delivery_country}></address>

<h4>Shipping Method</h4>
<div><{if $order.shipping_module_code neq ''}><{$order.shipping_module_code}><{else}><{T w='Flat Rate (Best Way)'}><{/if}></div>
</div>

<div id="myAccountShipInfo" class="floatingBox forward">
<h3>Billing Address</h3>
<address><{$order.billing_name}> <br /> <{$order.billing_street_address}> <br />  <{$order.billing_city}>, <{$order.billing_postcode}><br /> <{$order.billing_state}>, <{$order.billing_country}></address>

<h4>Payment Method</h4>
<div><{$order.payment_method}></div>
</div>

<table border="0" width="100%" cellspacing="0" cellpadding="0" id="myAccountOrdersStatus">
      <tr><form name="status" action="<{spUrl c=orders a=save}>" method="post">
      <input type="hidden" name="orders_id" value="<{$order.orders_id}>"/>
      <input type="hidden" name="orders_sn" value="<{$order.orders_sn}>"/>
      <input type="hidden" name="customers_email_address" value="<{$order.customers_email_address}>"/>
      <input type="hidden" name="customers_name" value="<{$order.customers_name}>"/>
      <td class="main noprint"><textarea name="comments" rows="5" style="width:99.8%"></textarea></td>
      </tr>
      <tr>
        <td><table border="0" cellspacing="0" cellpadding="2" class="noprint">
          <tr>
            <td><table border="0" cellspacing="0" cellpadding="2">
              <tr>
                <td class="main"><strong>Status:</strong> <select name="status">
                <{foreach item=item name=name from=$statusall}>
<option value="<{$item.orders_status_id}>" <{if $order.orders_status eq $item.orders_status_id}> selected="selected" <{/if}> ><{$item.orders_status_name}> [<{$item.orders_status_id}>]</option>
<{/foreach}>
</select>
</td>
              </tr>
              <tr>
                <td class="main"><strong>Notify Customer:</strong> [<input type="radio" name="notify" value="1" checked="checked" />-Email <input type="radio" name="notify" value="0" />-No Email]&nbsp;&nbsp;&nbsp;</td>
                <td class="main"><strong>Append Comments:</strong> <input type="checkbox" name="notify_comments" checked="checked" /></td>
              </tr>
              <tr><td><br /></td></tr>
            </table></td>
            <td valign="top"><input type="submit" alt="Update" value=" Update "></td>
          </tr>
        </table></td>
      </form></tr>
</table>                   
                      
                     


</div>
</body>

</html>